<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>木毛旅行社 - 旅行信息</title>
	<style>
		:root {
			--primary-color: #3498db;
			--secondary-color: #2980b9;
			--accent-color: #e74c3c;
			--light-bg: #f8f9fa;
			--dark-bg: #2c3e50;
			--text-color: #333;
			--light-text: #fff;
			--border-radius: 8px;
			--box-shadow: 0 4px 12px rgba(0,0,0,0.1);
			--transition: all 0.3s ease;
		}

		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
		}

		body {
			font-family: 'Helvetica Neue', Arial, sans-serif;
			color: var(--text-color);
			line-height: 1.6;
			display: grid;
			grid-template-rows: auto auto 1fr auto;
			min-height: 100vh;
			background-color: var(--light-bg);
		}

		header {
			background-color: var(--light-text);
			box-shadow: var(--box-shadow);
			position: sticky;
			top: 0;
			z-index: 100;
		}

		.center {
			width: 90%;
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 15px;
		}

		.logo {
			color: var(--dark-bg);
			font-size: 2rem;
			margin: 0.5em 0;
			text-align: center;
		}

		nav ul.link {
			display: flex;
			justify-content: center;
			flex-wrap: wrap;
			gap: 1.5em;
			list-style: none;
			padding: 1em 0;
		}

		nav ul.link li a {
			color: var(--text-color);
			text-decoration: none;
			font-weight: 500;
			padding: 0.5em 1em;
			border-radius: var(--border-radius);
			transition: var(--transition);
		}

		nav ul.link li a:hover,
		nav ul.link li.active a {
			color: var(--light-text);
			background-color: var(--primary-color);
		}

		#headline {
			background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
			color: var(--light-text);
			padding: 3em 0;
			text-align: center;
		}

		#headline h2 {
			font-size: 2.5rem;
			margin-bottom: 0.5em;
		}

		#headline h3 {
			font-weight: 300;
			font-size: 1.2rem;
		}

		#tour {
			padding: 3em 0;
		}

		#tour section.center {
			text-align: center;
			margin-bottom: 3em;
		}

		#tour section.center h2 {
			font-size: 2rem;
			margin-bottom: 0.5em;
			color: var(--dark-bg);
		}

		.tour-grid {
			display: grid;
			grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
			gap: 2em;
		}

		.tour-card {
			background: var(--light-text);
			border-radius: var(--border-radius);
			overflow: hidden;
			box-shadow: var(--box-shadow);
			transition: var(--transition);
			display: flex;
			flex-direction: column;
		}

		.tour-card:hover {
			transform: translateY(-5px);
			box-shadow: 0 10px 20px rgba(0,0,0,0.15);
		}

		.tour-card img {
			width: 100%;
			height: 200px;
			object-fit: cover;
		}

		.tour-content {
			padding: 1.5em;
			flex-grow: 1;
			display: flex;
			flex-direction: column;
		}

		.tour-card h3 {
			font-size: 1.3rem;
			margin-bottom: 0.5em;
			color: var(--dark-bg);
		}

		.price {
			color: var(--accent-color);
			font-weight: bold;
			font-size: 1.2rem;
			margin: 0.5em 0;
		}

		.price mark {
			background: transparent;
			color: inherit;
			font-weight: normal;
		}

		.discount {
			font-size: 0.9rem;
			color: #666;
			margin-bottom: 1em;
		}

		.discount mark {
			background: transparent;
			color: inherit;
		}

		.btn {
			display: inline-block;
			background-color: var(--primary-color);
			color: var(--light-text);
			padding: 0.8em 1.5em;
			border-radius: var(--border-radius);
			text-decoration: none;
			font-weight: 500;
			transition: var(--transition);
			border: none;
			cursor: pointer;
			text-align: center;
			margin-top: auto;
		}

		.btn:hover {
			background-color: var(--secondary-color);
		}

		footer {
			background-color: var(--dark-bg);
			color: var(--light-text);
			padding: 3em 0 1em;
		}

		.footer-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
			gap: 2em;
			margin-bottom: 2em;
		}

		footer h2 {
			font-size: 1.3rem;
			margin-bottom: 1em;
			position: relative;
			padding-bottom: 0.5em;
		}

		footer h2::after {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			width: 50px;
			height: 2px;
			background-color: var(--primary-color);
		}

		footer ul {
			list-style: none;
		}

		footer ul li {
			margin-bottom: 0.8em;
		}

		footer ul li a {
			color: #bbb;
			text-decoration: none;
			transition: var(--transition);
		}

		footer ul li a:hover {
			color: var(--light-text);
			padding-left: 5px;
		}

		.copyright {
			text-align: center;
			padding-top: 1.5em;
			border-top: 1px solid rgba(255,255,255,0.1);
			font-size: 0.9rem;
			color: #bbb;
		}

		@media (max-width: 768px) {
			nav ul.link {
				gap: 0.5em;
			}

			nav ul.link li a {
				padding: 0.5em;
				font-size: 0.9rem;
			}

			#headline h2 {
				font-size: 2rem;
			}

			.tour-grid {
				grid-template-columns: 1fr;
				gap: 1.5em;
			}
		}
	</style>
</head>
<body>

<header id='header'>
	<div class='center'>
		<h1 class="logo">木毛旅行社</h1>
		<nav>
			<h2 class="none">网站导航</h2>
			<ul class="link">
				<li><a href="/index">首页</a></li>
				<li class="active"><a href="/information">旅行信息</a></li>
				<li><a href="/buy">订购</a></li>
				<li><a href="/scenery">风景欣赏</a></li>
				<li><a href="/login">登录</a></li>
			</ul>
		</nav>
	</div>
</header>

<div id="headline">
	<div class="center">
		<hgroup>
			<h2>旅行信息</h2>
			<h3>介绍各种旅游信息、资讯要闻、景点攻略等</h3>
		</hgroup>
	</div>
</div>

<main id="tour">
	<section class="center">
		<h2>热门旅游</h2>
		<p>国内旅游、国外旅游、自助旅游、自驾旅游、游轮签证、主题旅游等各种热门最新旅游推荐</p>
	</section>

	<div class="center tour-grid">
		{{ range $value := .out }}
		<article class="tour-card">
			<img src="{{ $value.T_image }}" alt="{{ $value.T_Name }}" loading="lazy">
			<div class="tour-content">
				<h3>{{ $value.T_Name }}</h3>
				<div class="price"><mark>价格：</mark>{{ $value.T_price }}</div>
				<div class="discount"><mark>优惠：</mark>{{ $value.T_TravelOffers }}</div>
				<a href="/information/detail/{{ $value.ID }}" class="btn">查看详情</a>
			</div>
		</article>
		{{ end }}
	</div>

</main>

<footer>
	<div class="center">
		<div class="footer-grid">
			<div>
				<h2>合作伙伴</h2>
				<ul>
					<li><a href="#">中国东方航空</a></li>
					<li><a href="#">滴滴出行</a></li>
					<li><a href="#">携程旅游</a></li>
					<li><a href="#">去哪儿网</a></li>
				</ul>
			</div>
			<div>
				<h2>旅游服务</h2>
				<ul>
					<li><a href="#">签证办理</a></li>
					<li><a href="#">酒店预订</a></li>
					<li><a href="#">机票查询</a></li>
					<li><a href="#">旅游保险</a></li>
				</ul>
			</div>
			<div>
				<h2>关于我们</h2>
				<ul>
					<li><a href="#">公司简介</a></li>
					<li><a href="#">联系我们</a></li>
					<li><a href="#">招聘信息</a></li>
					<li><a href="#">隐私政策</a></li>
				</ul>
			</div>
			<div>
				<h2>联系我们</h2>
				<ul>
					<li>客服电话: 400-123-4567</li>
					<li>邮箱: info@homo.com</li>
					<li>地址: 北京市朝阳区旅游大厦</li>
				</ul>
			</div>
		</div>
		<div class="copyright">
			木毛旅行社 © 2023 版权所有 | www.homo.com
		</div>
	</div>
</footer>

</body>
</html>